package com.lean.android.ad.core

import androidx.annotation.RestrictTo
import com.lean.android.ad.utils.Timber


@RestrictTo(RestrictTo.Scope.LIBRARY)
interface AdRenderCallback {

    fun onAdClicked(ad: Ad) {
        Timber.d("AdCallback onAdClicked ")
    }

    fun onAdShow(ad: Ad, w: Int, h: Int) {
        Timber.d("AdCallback onAdShow width $w , height $h")
    }

    fun onAdShowFail(code: Int, message: String?) {
        Timber.d("AdCallback onAdShowFail code $code, message $message")
    }

    fun onAdClosed(ad: Ad)

}